Atum\Dashboard\WidgetHelpers C

Total Complexity 109
Dependencies 7
Dependents 14
Total lines 1,033
Lines of code 503
Logical lines of code 280
Comment lines 292
Methods 15
Properties 4

Methods 15

Method Rating Maintainability Complexity Lines of code
get_items_in_stock()
C
30 24 118
get_sales_stats()
B
43 20 41
get_stock_levels()
A
34 11 102
product_types_dropdown()
A
45 8 38
get_sales_chart_data()
A
48 8 32
get_promo_sales_chart_data()
S
50 6 27
get_orders_chart_data()
S
49 6 27
get_promo_sales_stats()
S
55 6 19
get_children()
S
47 4 34
get_chart_data_period()
S
55 5 17
format_counters_items_in_stock()
S
54 4 23
get_orders_stats()
S
59 4 13
get_date_period()
S
69 1 6
atum_product_data_query_clauses()
S
79 1 3
wc_product_data_query_clauses()
S
78 1 3